package com.xrz.dao;

import com.xrz.pojo.GroupMsg;
import com.xrz.pojo.vo.GroupMsgVo;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface GroupMsgDao {
    int deleteByPrimaryKey(Integer id);

    int insert(GroupMsg record);

    int insertSelective(GroupMsg record);

    GroupMsg selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(GroupMsg record);

    int updateByPrimaryKey(GroupMsg record);

    List<GroupMsg> selectByGroupId(Integer groupId);


    List<GroupMsgVo> selectVoByGroupId(Integer groupId);
}